import { useState, useEffect } from 'react';
import Chat from '../components/Chat';

export default function Home() {
  const [status, setStatus] = useState('loading');
  const [documents, setDocuments] = useState([]);
  const [error, setError] = useState(null);

  useEffect(() => {   
  }, []);

  return (
    <div className="space-y-6">
      {/* 状态面板 */}
      {/* 聊天界面 */}
      <div className="bg-white shadow rounded-lg">
        <Chat />
      </div>
    </div>
  );
} 